package com.haitonghop.modules.news;

import java.util.ArrayList;

/**
 * Created by thanhle on 6/15/13.
 */
public class News {
    private String name;
    private String link;
    private ArrayList<RSS> rssList;

    public News(String name, String link) {
        this.name = name;
        this.link = link;
        rssList = new ArrayList<RSS>();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public ArrayList<RSS> getRssList() {
        return rssList;
    }

    public void setRssList(ArrayList<RSS> rssList) {
        this.rssList = rssList;
    }

    public void appendRss(RSS rss) {
        rssList.add(rss);
    }
}
